package ooday01;

public class CarTest {
    public static void main(String[] args) {
        /*
        Car bm = new Car("宝马","白",2.5);
        bm.start();
        bm.run();
        bm.stop();
        Car lbjn = new Car("兰博基尼","蓝",88888888.165);
        lbjn.start();
        lbjn.run();
        lbjn.stop();
        Car db = new Car();
        db.brand="大奔";
        db.color="黑";
        db.price=46546874;
        db.start();
        db.stop();
        db.run();

         */
        /*
        Car bc = new Car();
        bc.brand = "奔驰";
        bc.color = "白";
        bc.price = 13456446;
        bc.start();
        bc.run();
        bc.stop();
        Car lb = new Car("兰博基尼","蓝",4534643);
        lb.start();
        lb.run();
        lb.stop();
        Car db = new Car("大奔","黑",354645634);
        db.start();
        db.run();
        db.stop();

         */
        Car bm = new Car();
        bm.brand = "宝马";
        bm.color = "白";
        bm.price = 37464643;
        bm.run();
        bm.stop();
        bm.start();
        Car bc = new Car("奔驰","黑",437467433);
        bc.run();
        bc.stop();
        bc.start();
        Car lb = new Car("兰博基尼","蓝",453464633);
        lb.run();
        lb.start();
        lb.stop();

    }
}
